var path = require('path');
module.exports = {
    entry: './src/client',
    output: {
        path: path.join(__dirname, './dist/js'),
        filename: 'main.js'
    },
    module: {
        rules: [{
            test: /\.js$/,
            exclude: /node_modules/,
            loaders: ['babel-loader']
        }]
    }
};